 <template>
  <div>
    <div class="big">
      <ul>
        <li>
          <p>{{ arrnew.title }}</p>
          <img :src="fz(arrnew.pic)" alt="" />
        </li>
      </ul>
      <ul v-html="arrnew.content" class="xq"></ul>
    </div>
  </div>
</template>
 <script>
export default {
  data() {
    return {
      arr: [],
      arrnew: {},
    };
  },
  mounted() {
    this.arr = this.$route.query.id;
    this.axios
      .get("https://jd.itying.com/api/pcontent?id=" + this.arr)
      .then((res) => {
        this.arrnew = res.data.result;
      });
  },
  methods: {
    fz(str) {
      return "http://jd.itying.com/" + str.split("\\").join("/");
    },
  },
  computed: {},
};
</script>
 <style lang='css'>
 *{
   margin: 0;
   padding: 0;
 }
 ul{
   border: none !important;
 }
.big {
  width: 100%;
  height: 10rem;
  display: flex;
  justify-content: space-between;
  padding-left: 0.5rem;
  box-sizing: border-box;
}
.big  img{
  width: 8rem;
  height: 8rem;
}



</style>